package com.example.model.wemedia.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "NewsMaterial", description = "自媒体图文引用素材信息表")
public class NewsMaterial {
    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(description = "素材ID")
    private Integer materialId;

    @Schema(description = "图文ID")
    private Integer newsId;

    @Schema(description = "引用类型 0内容引用 1主图引用")
    private Integer quoteType;

    @Schema(description = "引用排序")
    private Integer quoteOrd;
}

